
//#ifndef USE_PTH

#ifndef PTH_DEFS
#define PTH_DEFS
#include "defines.h"

// #define atomic_dec_and_test(a) 1 
// #define atomic_dec(a) 1 

#define pth_mutex_init(a) ((void)0)
#define pth_mutex_acquire(a,b,c) ((void)0)  
#define pth_mutex_destroy(a) ((void)0)  
#define pth_mutex_release(a) ((void)0)  

#define pth_rwlock_init(a) ((void)0)  
#define pth_rwlock_acquire(a,b,c,d) ((void)0)  
#define pth_rwlock_release(a) ((void)0)  

#define pth_cond_init(a) ((void)0)  
#define pth_cond_await(a,b,c) ((void)0)  
#define pth_cond_notify(a,b) ((void)0)  

#define NIPQUAD(addr) \
         ((unsigned char *)&addr)[0], \
         ((unsigned char *)&addr)[1], \
         ((unsigned char *)&addr)[2], \
         ((unsigned char *)&addr)[3]

#endif 
//#endif 
